package api_models

import (
	"longmen/server/pkg/db/mysql/models/models_live"
)

type VideoSuggestionReq struct {
	TypeID int32 `json:"type_id"` // 0-推荐 1-足球 2-篮球 3-娱乐 4-电竞 5-回放 6-其他
	Page   int   `json:"page"`
	Size   int   `json:"size"`
}

type VideoSuggestionResp struct {
	Total  int64                `json:"total"`
	Videos []*models_live.Video `json:"videos"`
}

type VideoStatusResp struct {
	Status int32 `json:"status"` // 0失败， 1成功
}

type VideoSearchReq struct {
	Keyword string `json:"keyword"`
	Page    int    `json:"page"`
	Size    int    `json:"size"`
}

type VideoSearchResp struct {
	Total           int64                `json:"total"`
	Videos          []*models_live.Video `json:"videos"`
	VideoSuggestion []*models_live.Video `json:"video_suggestion"`
}

type VideoReq struct {
	ID int `json:"id" validate:"required"`
}

type VideoReplyReq struct {
	CategoryID int    `json:"category_id"`
	Keyword    string `json:"keyword"`
	Page       int    `json:"page"`
	Size       int    `json:"size"`
}

type VideoReplyResp struct {
	Total  int64                `json:"total"`
	Videos []*models_live.Video `json:"videos"`
}

type VideoReplyChildCategoryReq struct {
	CategoryID int `json:"category_id"`
}
